﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC08Controller : Do tuoi
    /// </summary>
    public class VYC08Controller
    {
        private static VYC08BO _vyc08Bo;
        public VYC08Controller()
        {
            //
            _vyc08Bo = new VYC08BO();
        }

        public List<ModelVYC08> GetAllList()
        {
            return _vyc08Bo.GetAllList();
        }

        public int AddData(ModelVYC08 model)
        {
            return _vyc08Bo.AddData(model);
        }

        public int EditData(ModelVYC08 model)
        {
            return _vyc08Bo.EditData(model);
        }

        public int DeleteData(ModelVYC08 model)
        {
            return _vyc08Bo.DeleteData(model);
        }
        public List<ModelVYC08> GetById(int id)
        {
            return _vyc08Bo.GetById(id);
        }
    }
}